package objbo.xmlparser.controls;

import objbo.xmlparser.controls.action.AttributeListAddAction;
import objbo.xmlparser.controls.action.AttributeListModifyAction;
import objbo.xmlparser.controls.action.AttributeListRemoveAction;
import objbo.xmlparser.controls.action.ContentModifyAction;
import objbo.xmlparser.controls.action.ElementListAddAction;
import objbo.xmlparser.controls.action.ElementListRemoveAction;
import objbo.xmlparser.controls.action.FileOpenAction;
import objbo.xmlparser.controls.action.FileSaveAction;
import objbo.xmlparser.controls.action.XMLTreeSelectAction;

import objbo.xmlparser.view.interfaces.InterFaceMain;


public class ControlMain
{
	InterFaceMain interFaceMain = null;

	
	
	
	public ControlMain(InterFaceMain interFaceMain)
	{
		this.interFaceMain = interFaceMain;
	}
	
	
	
	
	
	
	
	public AttributeListAddAction makeAttributeListAddAction()
	{
		return new AttributeListAddAction(interFaceMain.getElementInterFace(),this.interFaceMain.getUIInterFace());
	}

	public AttributeListModifyAction makeAttributeListModifyAction()
	{
		return new AttributeListModifyAction(interFaceMain.getElementInterFace(),this.interFaceMain.getUIInterFace());
	}

	public AttributeListRemoveAction makeAttributeListRemoveAction()
	{
		return new AttributeListRemoveAction(interFaceMain.getElementInterFace(),this.interFaceMain.getUIInterFace());
	}

	public ContentModifyAction makeContentModifyAction()
	{
		return new ContentModifyAction(interFaceMain.getElementInterFace(),this.interFaceMain.getUIInterFace());
	}

	public ElementListAddAction makeElementListAddAction()
	{
		return new ElementListAddAction(interFaceMain.getElementInterFace(),this.interFaceMain.getUIInterFace());
	}

	public ElementListRemoveAction makeElementListRemoveAction()
	{
		return new ElementListRemoveAction(interFaceMain.getElementInterFace(),this.interFaceMain.getUIInterFace());
	}

	public FileOpenAction makeFileOpenAction()
	{
		return new FileOpenAction(interFaceMain.getFileInterFace(),this.interFaceMain.getUIInterFace());
	}

	public FileSaveAction makeFileSaveAction()
	{
		return new FileSaveAction(interFaceMain.getFileInterFace(),this.interFaceMain.getUIInterFace());
	}

	public XMLTreeSelectAction makeXmlTreeSelectAction()
	{
		return new XMLTreeSelectAction(interFaceMain.getElementInterFace(),this.interFaceMain.getUIInterFace());
	}


	

	
	
	
	
}
